package net.thelostlands.thelostteleport;

import java.util.logging.Logger;

import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;

import com.palmergames.bukkit.towny.Towny;

public class TheLostTeleport extends JavaPlugin {

	public final Logger logger = Logger.getLogger("Minecraft");

	public static TheLostTeleport plugin;
	public static Towny towny;
	
	@Override
	public void onEnable() {
		plugin = this;
		PluginDescriptionFile pdfFile = this.getDescription();
		this.logger.info(pdfFile.getDescription() + " has been enabled.");
		
		TeleportPlayer teleport = new TeleportPlayer()
		teleport.plugin = plugin;
		getCommand("joinfortress").setExecutor(teleport);
	}
}
